// talkscript for town 4: Library under thralni's castle

begintalkscript;

variables;

// *** Gordon ***

begintalknode 1;
	state = -1;
	personality = 28;
	nextstate = 1;
	condition = 1;
	question = "Gordon";
	text1 = "In this chair sits a young mage. However, his long hair is already turning white. _Hello, I'm Gordon. Would you please sign this record before entering?_";

begintalknode 2;
	state = 1;
	personality = 28;
	nextstate = 2;
	condition = 1;
	question = "Yes of course we will. What can you tell us about this library?";
	text1 = "You sign the book. He looks pleased when you do. _Well, not much. As you may have already guessed, its not really old, because we just moved in._ He blinks at you. _I really don't care about what Thralni says. A person is just a person to me._";

begintalknode 3;
	state = 2;
	personality = 28;
	nextstate = 3;
	condition = 1;
	question = "What can you tell us about the library in the former castle? We saw that its now all ruined.";
	text1 = "_Once it was beautiful._ A cloud of nostalgia appears around him. _I'm sorry to hear everything is ruined, but I already guessed that might happen._";

begintalknode 4;
	state = 3;
	personality = 28;
	nextstate = 3;
	condition = 1;
	question = "So you didn't know?";
	text1 = "_No, as a matter of fact, I didn't._ He looks at his book.";

begintalknode 5;
	state = 3;
	personality = 28;
	nextstate = 2;
	condition = 1;
	question = "Do you know why and by whom it was ruined?";
	text1 = "_By the Empire of course. They probably ruined the whole place. Why, I don't know. Maybe the Emperor knows more about that._";

begintalknode 6;
	state = 2;
	personality = 28;
	nextstate = 4;
	condition = 1;
	question = "Why do you want us to sign the book?";
	text1 = "_This way I can keep track of who borrows books and what books they are._ He presents you the book with pride.";

begintalknode 7;
	state = 4;
	personality = 28;
	nextstate = 2;
	condition = 1;
	question = "But do so many people come here that you actually need to write it down?";
	text1 = "_No..._ (You stare at the almost empty book) _But maybe it can be useful... Maybe._";

begintalknode 8;
	state = 2;
	personality = 28;
	nextstate = -1;
	condition = 28;
	question = "Could you give us information about where we can find certain books?";
	text1 = "_Of course I can! That is my main knowledge. In the halls behind the doors you can find everything. In the northwest corner are some rooms were you can sit alone if you need. Also, some tables are set in the southern part of the library._";
	text2 = "_If you have any more questions, come to me. Now go and pick your books._";

// *** John ***

begintalknode 9;
	state = -1;
	personality = 41;
	nextstate = 5;
	condition = 1;
	question = "John";
	text1 = "A tall acolyte is sitting in this chair. He reads a book. He clearly doesn't know you're there. When you touch him he screams. _I'm sorry, I didn't know I had visitors!_";

begintalknode 10;
	state = 5;
	personality = 41;
	nextstate = 5;
	condition = 1;
	question = "We are sorry if we startled you.";
	text1 = "_So what do you want?_ He holds his book tightly. It would be quite difficult to try to get that book away from him.";

begintalknode 11;
	state = 5;
	personality = 41;
	nextstate = 6;
	condition = 1;
	question = "What are you reading? It looks fascinating.";
	text1 = "_I'm reading a book about how to program a Blades of Avernum scenario. The author is Jeff Vogel. Do you know him?_ He shows you a small picture of a man with glasses and a beard, setting next to a good looking woman, both wearing coats.";

begintalknode 12;
	state = 6;
	personality = 41;
	nextstate = -1;
	condition = 1;
	question = "Um... Yeah, I think so. The book looks interesting.";
	text1 = "_No, you don't find it interesting. Leave me alone, go away! Or I will curse you!_ You quickly go away.";
	action = END_TALK;